package com.letfox.ad.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.ADServingSettingDao;
import com.letfox.ad.model.ADServingSetting;
import com.letfox.ad.service.ADServingSettingService;

@Service
public class ADServingSettingServiceImpl implements ADServingSettingService {
	
	@Autowired
	private ADServingSettingDao adServingSettingDao;

	@Override
	public int deleteByPrimaryKey(String adSetId) {
		return adServingSettingDao.deleteByPrimaryKey(adSetId);
	}

	@Override
	public int insert(ADServingSetting record) {
		return adServingSettingDao.insert(record);
	}

	@Override
	public ADServingSetting selectByPrimaryKey(String adSetId) {
		return adServingSettingDao.selectByPrimaryKey(adSetId);
	}

	@Override
	public int updateByPrimaryKey(ADServingSetting record) {
		return adServingSettingDao.updateByPrimaryKey(record);
	}

}
